Blitz (207/213)

From:Neil Bullock
Date:30 May 2000 at 13:16:41
Subject:Newtypes

Hi,

I've got a file which declares various newtypes and creates various linked
lists using these newtypes. The file looks a bit like this

-------- types.bb2 ---------

NEWTYPE.set
blah.s
End NEWTYPE
Dim List settings.set(1) : ResetList settings() : AddItem settings()

NEWTYPE.eve
blah.s
End NEWTYPE
Dim List ev.eve(1) : ResetList ev() : AddItem ev()

NEWTYPE.comm
blah.s
End NEWTYPE
Dim List comm.comm(1) : ResetList comm() : AddItem comm()

------------------------------

I Xinclude this file into a program I'm writing. What I want to know, is why
the following works, but the bit after it doesn't.

---------
settings(0)\blah = set_name$
ev(0)\blah = ev_click$

The above works fine. The following line gives the error 'Array not yet
dimmed')

comm(0)\blah = com_name$
----------

And I can't figure out why. Any ideas?



Neil
http://www.trogsoft.org

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie